package com.project.service;

import com.project.dao.ShopCarDao;

import com.project.model.Shopcart;
import com.project.model.Totalorder;
import com.project.model.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ShopCarService {
	@Resource
	private ShopCarDao shopCarDao;
	public Totalorder toselectShoporder(String tid){
		return this.shopCarDao.selectShoporder(tid);
	}
	public List<Shopcart> selectShopcart(String stuid){
		return this.shopCarDao.selectShopcart(stuid);
	}
	
}
